#ifndef _SPI_H_
#define _SPI_H_
#include <avr/io.h>

extern void spi_init();
extern void spi_transfer_sync(uint8_t * dataout, uint8_t * datain, uint8_t len);
extern void spiWriteString(uint8_t * dataout, uint8_t len);
extern uint8_t spiWriteByte(uint8_t data);

#endif /* _SPI_H_ */
